<?php
/* @var $this ObjectController */
/* @var $model Object */

$this->breadcrumbs=array(
	'Users'=>array('admin'),
	'Manage',
);

$this->menu=array(
	array('label'=>'Create', 'url'=>array('create')),
);
?>

<h1>Manage Users</h1>

<?php $this->widget('zii.widgets.grid.CGridView', array(
	'id'=>'users-grid',
	'dataProvider'=>$model->search(),
	'filter'=>$model,
	'columns'=>array(
		'id',
		'full_name',
		// array(
		// 		'name' => 'city_id',
		// 		'value'=>'CSelect::item($data->city_id, "City")',
		// 		'filter'=>CSelect::items('City'),
		// ),
		// array(
		// 		'name' => 'user_id',
		// 		'value'=>'CSelect::item($data->user_id, "Users", "full_name")',
		// 		'filter'=>CSelect::items('Users', "full_name"),
		// ),
		// 'price',
		// 'crdate',
		array(
			'class'=>'CButtonColumn',
			'template' => '{update}{delete}',
		),
	),
)); ?>
